package one.stand.event;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

@Data
public class UpdateGoodsEvent extends ApplicationEvent {
    /**
     * Create a new ApplicationEvent
     */
    private UpdateGoodsEvent() {
        super("UpdateGoodsEvent");
    }

    public UpdateGoodsEvent(Integer selectCompanyId, Integer goodsId) {
        this();
        this.selectCompanyId = selectCompanyId;
        this.goodsId = goodsId;
    }

    private Integer selectCompanyId;
    private Integer goodsId;
}
